package com.jihox.abookpro.domain;

import java.io.Serializable;

public class PictureHolder implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	protected float x = 0;
	protected float y = 0;
	protected float height = 0;
	protected float width = 0;
	protected int rotation = 0;
    protected boolean adaptToImageRatio = true;
    protected String maskPath;
	
    public String getMaskPath() {
		return maskPath;
	}

	public void setMaskPath(String maskPath) {
		this.maskPath = maskPath;
	}
	
    public float getX() {
		return x;
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getY() {
		return y;
	}

	public void setY(float y) {
		this.y = y;
	}

	public float getHeight() {
		return height;
	}

	public void setHeight(float height) {
		this.height = height;
	}

	public float getWidth() {
		return width;
	}

	public void setWidth(float width) {
		this.width = width;
	}

	public int getRotation() {
		return rotation;
	}

	public void setRotation(int rotation) {
		this.rotation = rotation;
	}
	
	public boolean isAdaptToImageRatio() {
		return adaptToImageRatio;
	}

	public void setAdaptToImageRatio(boolean adaptToImageRatio) {
		this.adaptToImageRatio = adaptToImageRatio;
	}

}
